#include<bits/stdc++.h>
#define int long long
using namespace std;
const int N=1e6+5;
int n,k[N];
vector<int> a[N];
signed main() {
	freopen("mcmf.in","r",stdin);
	freopen("mcmf.out","w",stdout);
	ios::sync_with_stdio(0);
	cin.tie(0),cout.tie(0);
	cin>>n;
	for(int i=1;i<=n;i++) {
		cin>>k[i];
		int x=0;
		a[i].push_back(x);
		for(int j=1;j<=k[i];j++) {
			cin>>x;
			a[i].push_back(x);
		}
	}
	cout<<"QwQ";
	return 0;
}
